package org.example.setup.mapper;

import org.example.model.domain.feeback.ExpressFeeback;
import org.example.model.domain.feeback.FeedbackSupplement;

public interface FeebackMapper {
    /**
     * 添加新消息
     * @param expressFeeback
     * @return
     */
    int add(ExpressFeeback expressFeeback);

    /**
     * 根据IP查询聊天记录
     * @param registerIp
     * @return
     */
    ExpressFeeback selectByRegisterIp(String registerIp);

    /**
     *
     * @param supplement
     * @return
     */
    int supplementAdd(FeedbackSupplement supplement);


    FeedbackSupplement findSupplement(Long fid);

}
